/**
 * @Description: test
 * @Author: Hu Outstanding
 * @Date: 2022/2/22 8:50
 */
package com.aaa.three.controller;


import com.aaa.three.pojo.query.LogInfoQuery;
import com.aaa.three.result.AjaxResult;
import com.aaa.three.service.AdminLogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("operate")
public class AdminLogInfoController {

    @Autowired
    private AdminLogInfoService adminLogInfo;

    @RequestMapping("queryLog")
    public AjaxResult queyLog(LogInfoQuery logInfoQuery){
        return adminLogInfo.queryLog(logInfoQuery);
    }

    @RequestMapping("getLog/{id}")
    public AjaxResult getLog(@PathVariable("id") int id){
        return adminLogInfo.getLog(id);
    }




}
